Purpose: This document indicates the enumeration values for Login.LoginResult.
Login.LoginResult Enumeration
The following table lists the enumeration values for Login.LoginResult.
| Value | Description |
|---|---|
| Success | Indicates that the user was successfully authenticated. This value is only returned for users that are contained within the database, not the built-in users. |
| Failure | Indicates that the user was not successfully authenticated. Either the username or password was incorrect. |
| UserDeactivated | Indicates that the user is inactive or was deactivated. The given username/password/domain combination was valid, but the user was already inactive or expired, and was therefore deactivated. |
| InvalidLoginsExceeded | Indicates that the same username failed to authenticate and exceeded the maximum number of failed authentications within the allotted time. The account was subsequently deactivated. |
| AdminLoggedOn | Indicates that the built-in admin username/password was supplied and successfully authenticated. |
| SecMaintUserLoggedOn | Indicates that the build-in security maintenance username/password was supplied and successfully authenticated. |
| LoginPermissionDenied | Indicates that the given username/password/domain is valid, but the permission required to login (Login.LoginSecurityKey) was denied to the user. |